package org.bigdata.platform.exception;

public class PlatformException extends Exception {

	private static final long serialVersionUID = -6017605085378933945L;

	public PlatformException(ErrorCode errorCode, Throwable cause) {
		super(errorCode.getCompleteMessage(), cause);
	}

	public PlatformException(ErrorCode errorCode) {
		super(errorCode.getCompleteMessage());
	}
}
